#pragma once
#include "DrawView.h"
namespace UILib
{
    class CDrawTexture : public CDrawView
    {
    public:
        CDrawTexture(void);
        CDrawTexture( Bitmap* pBitmap, const PUIRect pRect, const PSplitRect pRcSplit, const UINT uID = -1, ViewListener* pListener = NULL );

        virtual ~CDrawTexture(void);

        wstring GetClass() { return L"CDrawTexture"; };
        virtual void DrawElement(const HDC hDC, const RECT& rcPaint );
    private:
        Bitmap* pBitmap_;
        SplitRect rcSplit;
    };

}